{{- if .Values.rbac.create }}
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: kubelatte-ce-{{ .Release.Name }}-cr
rules:
  - verbs:
      - get
      - list
      - create
      - update
      - patch
      - watch
      - delete
    apiGroups:
      - '*'
    resources:
      - '*'
{{- end }}